<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<script>
var s = "abca999aaab09809dA0409bc";  // abc 换成 z
/*var s1 = s.replace("abc", "");
console.log(s1);*/

var ss = s.match(/\d+/gi);
console.log(ss);

var res = s.search("abc");
console.log(res);
</script>
</body>
</html>